#include <iostream>
#include <math.h>
using namespace std;

int main()
{
int A, N;
cout<< "Vvedite chislo = ";
cin >> A;
cout<<"Vvdetite stepen = ";
cin >> N;
for (int i = 1; i <= N; i++)
cout << pow(A, i) << endl;
system("pause");
}
